.upload{
  text-align: center;
}
.uploadComponent {
  display: flex;
  padding: 10px;
}

.uploadInput {
  flex: 1;
  position: relative;
}

.uploadBtn {
  margin-left: 20px;
}
.uploadIcon{
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  width: 40px;
  font-size: 18px;
  text-align: center;
  line-height: 31px;
}
.realUploadBtn{
  position: absolute;
  height: 100%;
  width: 40px;
  right: 0;
  top: 0;
  opacity: 0;
}
.imgPreview{
  width: 400px;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid #c1c1c1;
  border-radius: 8px;
  display: inline-block;
  img{
    width: 100%;
  }
}